uniform mat4 modelview;
uniform mat4 transfObject;
uniform mat4 projection;

varying mat4 projectorMat;

varying vec4 vertex;

void main()
{
	gl_Position    = gl_ModelViewProjectionMatrix * gl_Vertex;
	//gl_Position = gl_ProjectionMatrix*gl_ModelViewMatrix*  gl_Vertex;
	
	vertex = gl_Vertex;
	projectorMat = projection * modelview * transfObject;
	
	
	gl_FrontColor  = gl_Color;
}
